package com.googlecode.dgwt.client.dojo.data;

import java.util.Collection;
import java.util.Map;
import java.util.Map.Entry;

import com.googlecode.dgwt.client.dojo.data.base.KeyValueStoreBase;
import com.googlecode.dgwt.client.dojo.data.model.KeyValueModel;

/**
 * @author wellsantos@wellsantos.com
 * @since 0.01
 */
public class KeyValueStore extends KeyValueStoreBase<String, String> {
    
    public KeyValueStore() {
        super(new KeyValueModel<String, String>(String.class, String.class));
    }

    public KeyValueStore(int initialCapacity) {
        super(new KeyValueModel<String, String>(String.class, String.class), initialCapacity);
    }

    public KeyValueStore(Map<String, String> items) {
        super(new KeyValueModel<String, String>(String.class, String.class), items.entrySet());
    }

    public KeyValueStore(Collection<? extends Entry<String, String>> items) {
        super(new KeyValueModel<String, String>(String.class, String.class), items);
    }

}
